package com.zhangdi.mserver.searchcli;

import com.zhangdi.mserver.searchcli.page.Pageable;

import java.util.ArrayList;
import java.util.List;

public class QueryOptions {
    public QueryOptions(){
        pageable = new Pageable<>();
        shoulds = new ArrayList<>();
    }

    private String indexName;
    private Pageable<List<MSearchRequest>> pageable;
    private List<MSearchRequest> shoulds;
    private List<List<MSearchRequest>> shoulds2;

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Pageable<List<MSearchRequest>> getPageable() {
        return pageable;
    }

    public void setPageable(Pageable<List<MSearchRequest>> pageable) {
        this.pageable = pageable;
    }

    public List<MSearchRequest> getShoulds() {
        return shoulds;
    }

    public void setShoulds(List<MSearchRequest> shoulds) {
        this.shoulds = shoulds;
    }

    public List<List<MSearchRequest>> getShoulds2() {
        return shoulds2;
    }

    public void setShoulds2(List<List<MSearchRequest>> shoulds2) {
        this.shoulds2 = shoulds2;
    }
}
